#ifndef TACHE_TRAITEMENT_COMMANDES_H
#define TACHE_TRAITEMENT_COMMANDES_H
#include "config.h"
#include "msgQLib.h"
#include "stdlib.h"
#include <string.h>
#include "taskLib.h"
#include "stdio.h"
#include "utils.h"
 

int TraitementCommandes(MSG_Q_ID _idBalLogs, MSG_Q_ID _idBalIHM, MSG_Q_ID _idBalLots, MSG_Q_ID _idBalCommandes, MSG_Q_ID _idBalErreurs, int _idMiseEnCarton, int _idMiseEnPalette, int _idStockage);
void moteur_TraitementCommandes(MSG_Q_ID idBalLogs, MSG_Q_ID idBalIHM, MSG_Q_ID idBalLots, MSG_Q_ID idBalCommandes, MSG_Q_ID idBalErreurs, int idMiseEnCarton, int idMiseEnPalette, int idStockage);
int verifierCommande(int nbPalettesA, int nbPalettesB);
void traiterCommande(int nbPalettesA, int nbPalettesB);
int countPalettesA();
int countPalettesB();
void retirerPalettesStockees(int _numLot);

#endif
